home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1829 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  826 b 

  1. Path: ix.netcom.com!netnews
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: is this string a number?
  5. Date: Wed, 17 Jan 1996 01:23:12 GMT
  6. Organization: Netcom
  7. Message-ID: <30fc4f52.82046272@nntp.ix.netcom.com>
  8. References: <4dbogk$763@jupiter.planet.net> <4dh4vf$rdc@news.informix.com>
  9. NNTP-Posting-Host: ix-dc13-28.ix.netcom.com
  10. X-NETCOM-Date: Tue Jan 16  5:22:53 PM PST 1996
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. Robert Zook <lalaith@inf.net> wrote:
  14.  
  15. |>Chris Kemp <chrisk@paladn.com> wrote:
  16. |>>Is there a library function which will make this determination 
  17. |>>for me, or must I make up one of my own with somthing like 
  18. |>>strtok?
  19. |>
  20. |>If atol returns an error the string does not contain a number.
  21.  
  22. You forgot to add one minor detail -- atol cannot return an error.
  23.  
  24.  
  25. Michael M Rubenstein
  26.